package com.example.XueCuApp.Bean;

import android.os.Parcel;
import android.os.Parcelable;

public class HandSetCheckTicketResultBean {


    /**
     * code : 0
     * message : 11
     * data : {"ticketValidTimes":"1","businessOrgName":"丽江旅游集团","barcodeNo":"110101199003073992","gateSoundName":"11","certificateName":"cs1","passPersonSum":1,"certificateNo":"110101199003073992","productName":"雪厨自助小火锅(5选1)","certificateTypeName":"身份证"}
     */

    private String code;
    private String message;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Parcelable {
        /**
         * ticketValidTimes : 1
         * businessOrgName : 丽江旅游集团
         * barcodeNo : 110101199003073992
         * gateSoundName : 11
         * certificateName : cs1
         * passPersonSum : 1
         * certificateNo : 110101199003073992
         * productName : 雪厨自助小火锅(5选1)
         * certificateTypeName : 身份证
         */

        private String ticketValidTimes;
        private String businessOrgName;
        private String barcodeNo;
        private String gateSoundName;
        private String certificateName;
        private int passPersonSum;
        private String certificateNo;
        private String productName;
        private String certificateTypeName;

        private String checkTime;
        private String terminalName;
        private String orderCheckBatchNo;
        private String orderNo;

        public String getOrderNo() {
            return orderNo;
        }

        public void setOrderNo(String orderNo) {
            this.orderNo = orderNo;
        }

        public String getOrderCheckBatchNo() {
            return orderCheckBatchNo;
        }

        public void setOrderCheckBatchNo(String orderCheckBatchNo) {
            this.orderCheckBatchNo = orderCheckBatchNo;
        }

        protected DataBean(Parcel in) {
            ticketValidTimes = in.readString();
            businessOrgName = in.readString();
            barcodeNo = in.readString();
            gateSoundName = in.readString();
            certificateName = in.readString();
            passPersonSum = in.readInt();
            certificateNo = in.readString();
            productName = in.readString();
            certificateTypeName = in.readString();
            checkTime = in.readString();
            terminalName = in.readString();
            orderCheckBatchNo = in.readString();
            orderNo = in.readString();
        }

        public static final Creator<DataBean> CREATOR = new Creator<DataBean>() {
            @Override
            public DataBean createFromParcel(Parcel in) {
                return new DataBean(in);
            }

            @Override
            public DataBean[] newArray(int size) {
                return new DataBean[size];
            }
        };

        public String getTerminalName() {
            return terminalName;
        }

        public void setTerminalName(String terminalName) {
            this.terminalName = terminalName;
        }

        public String getCheckTime() {
            return checkTime;
        }

        public void setCheckTime(String checkTime) {
            this.checkTime = checkTime;
        }

        public String getTicketValidTimes() {
            return ticketValidTimes;
        }

        public void setTicketValidTimes(String ticketValidTimes) {
            this.ticketValidTimes = ticketValidTimes;
        }

        public String getBusinessOrgName() {
            return businessOrgName;
        }

        public void setBusinessOrgName(String businessOrgName) {
            this.businessOrgName = businessOrgName;
        }

        public String getBarcodeNo() {
            return barcodeNo;
        }

        public void setBarcodeNo(String barcodeNo) {
            this.barcodeNo = barcodeNo;
        }

        public String getGateSoundName() {
            return gateSoundName;
        }

        public void setGateSoundName(String gateSoundName) {
            this.gateSoundName = gateSoundName;
        }

        public String getCertificateName() {
            return certificateName;
        }

        public void setCertificateName(String certificateName) {
            this.certificateName = certificateName;
        }

        public int getPassPersonSum() {
            return passPersonSum;
        }

        public void setPassPersonSum(int passPersonSum) {
            this.passPersonSum = passPersonSum;
        }

        public String getCertificateNo() {
            return certificateNo;
        }

        public void setCertificateNo(String certificateNo) {
            this.certificateNo = certificateNo;
        }

        public String getProductName() {
            return productName;
        }

        public void setProductName(String productName) {
            this.productName = productName;
        }

        public String getCertificateTypeName() {
            return certificateTypeName;
        }

        public void setCertificateTypeName(String certificateTypeName) {
            this.certificateTypeName = certificateTypeName;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeString(ticketValidTimes);
            dest.writeString(businessOrgName);
            dest.writeString(barcodeNo);
            dest.writeString(gateSoundName);
            dest.writeString(certificateName);
            dest.writeInt(passPersonSum);
            dest.writeString(certificateNo);
            dest.writeString(productName);
            dest.writeString(certificateTypeName);
            dest.writeString(checkTime);
            dest.writeString(terminalName);
            dest.writeString(orderCheckBatchNo);
            dest.writeString(orderNo);
        }
    }
}
